The camera’s y in the room, in pixels.
Game Boy: not available
Game Boy Color: not available
On other consoles this differs: see Side by side and How the consoles differ.
view3d_y() -> realreal
The camera's y in the room, in pixels counted from the room's top-left corner (y grows downward, a tile is 8 pixels). It is where view3d_move or view3d_camera last left it.
var tile_row = view3d_y() div 8;The row of tiles the camera stands in.
Where view3d_move left it.